//
//  RootViewController.h
//  Blackjack
//
//  Created by mrbradle on 11/7/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RootViewController : UIViewController <UITextFieldDelegate> {

    UITextField* nameField;
    
    UISlider* chipSlider;
    UISlider* roundSlider;
    
    UILabel* chipLabel;
    UILabel* roundLabel;
    
    UIButton* startButton;
    
    int chips;
    int rounds;
    
}

- (IBAction)sliderChanged:(id)sender;
- (IBAction)startGame;

@property (nonatomic, retain) IBOutlet UITextField* nameField;

@property (nonatomic, retain) IBOutlet UISlider* chipSlider;
@property (nonatomic, retain) IBOutlet UISlider* roundSlider;
@property (nonatomic, retain) IBOutlet UILabel* chipLabel;
@property (nonatomic, retain) IBOutlet UILabel* roundLabel;
@property (nonatomic, retain) IBOutlet UIButton* startButton;

@property (nonatomic) IBOutlet NSInteger chips;
@property (nonatomic) IBOutlet NSInteger rounds;


@end
